<template>
      <div>
        <router-view />

      <van-tabbar route>
        <van-tabbar-item replace to="/" icon="home-o">
          首页
        </van-tabbar-item>
        <van-tabbar-item replace to="/classify" icon="search">
          分类
        </van-tabbar-item>
        <van-tabbar-item replace to="/cart" icon="home-o">
          购物车
        </van-tabbar-item>
        <van-tabbar-item replace to="/my" icon="home-o">
          我的
        </van-tabbar-item>
      </van-tabbar>
      </div>
   <!-- <van-tabbar v-model="active" active-color="red" >
  <van-tabbar-item name="home" icon="home-o" to="/">首页</van-tabbar-item>
  <van-tabbar-item name="search" icon="search" to="/classify">分类</van-tabbar-item>
  <van-tabbar-item name="friends" icon="friends-o" to="cart">购物车</van-tabbar-item>
  <van-tabbar-item name="setting" icon="setting-o" to="my">我的</van-tabbar-item>
</van-tabbar> -->
</template>
 
<script>
export default {
  //     data() {
  //   return {
  //     active: 'home',
  //   };
  // },
}
</script>

<style>

</style>